Ext.define('Admin.store.user.UserStore', {
    extend: 'Ext.data.Store',
    alias: 'store.userStore',
    model: 'Admin.model.user.UserModel',
    //autoLoad: true,	//自动加载
    pageSize: 25,
    proxy: {
        type: 'ajax',
        url:'user/findPage.json',
        reader: {
            type: 'json',
            rootProperty: 'content',
            totalProperty : 'totalElements'
            //,successProperty: 'success'
        }
        ,simpleSortMode: true	//发送简单排序字段
    },
    remoteSort: true,	//远程（全局）排序
    sorters: [{ property: 'id',direction: 'desc'}]	//默认排序条件
});